﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace YArchitech.Controls
{
	internal class FormUtils
	{
		public static void MoveWindow(System.Windows.Forms.Control ctrl, System.Drawing.Rectangle rect)
		{
			ctrl.Location = rect.Location;
			ctrl.Width = rect.Width;
			ctrl.Height = rect.Height;
		}
	}
}
